import fetch from '@/utils/fetch';

export function exprotXls(ids,obj) {
    return fetch({
        url: `api/cb/flRegionalAnalysisWaterMeter/exprotXls/${ids}`,
        method: 'post',
        responseType: 'blob',
        data: obj
    })
  }

// 导入Xlsx
export function importXls(obj) {
    return fetch({
      url: 'api/cb/flRegionalAnalysisWaterMeter/importXls',
      method: 'post',
      data: obj
    });
  }


// 说明：区域分析各个水表的信息分页查询(条件搜索)
// 接口：api/cb/flRegionalAnalysisWaterMeter/search/{page}/{size}
// 请求类型：Post
export function searchFlRegionalAnalysisWaterMeter(page, size, obj) {
    return fetch({
        url: 'api/cb/flRegionalAnalysisWaterMeter/search/'+ page +'/'+ size,
        method: 'post',
        data: obj
    });
}


